package com.zry.simpleBlog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zry.simpleBlog.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zry
 * @since 2022-04-09
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 获取用户信息
     * @param userName
     * @return
     */
    User getUserTopByName(@Param("userName") String userName);

}
